import { createStore } from 'vuex';

export default createStore({
    state: {
        teamAvatarUrl: 'https://lsh-aliyun.oss-cn-hangzhou.aliyuncs.com/ailian2/team_logo.jpg',
    },
    mutations: {
        updateTeamAvatar(state, newAvatarUrl) {
            state.teamAvatarUrl = newAvatarUrl;
        },
    },
});